package comits.business.tiers.main;

import java.util.List;

import comits.business.tiers.dao.HistoriqueVenteDAO;
import comits.business.tiers.dao.HistoriqueVenteDAOImpl;
import comits.business.tiers.dao.PrevisionDAO;
import comits.business.tiers.dao.PrevisionDAOImpl;
import comits.business.tiers.metiers.HistoriqueVente;
import comits.business.tiers.rp.tasks.ws.ControleurCalculPrevisions;
import comits.business.tiers.utilitaires.LoggingOutputStream;

public class PrevisionMain {

	/**
	 * @param args
	 * @return 
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		//initialisation du journal
		//LoggingOutputStream log =  new LoggingOutputStream();
		//log.initializeLog();

		//Lancement du calcul de prev initiale  sur 3 ans
		final  float alpha = (float) 0.3;
		final  float beta = (float) 0.1;
		final  float gamma = (float) 0.2;
		int horizon = 12;
		
		ControleurCalculPrevisions ccp = new ControleurCalculPrevisions(alpha,beta,gamma,horizon);
		ccp.calculprev();
		
	}
	
}